<template>
  <div class="customerService">
    <iframe :src="weburl" width="100%" height="100%"></iframe>
  </div>
</template>

<script setup>
import { getCurrentInstance, ref, onMounted } from 'vue'
const { proxy } = getCurrentInstance()

const weburl = ref('')

// 页面渲染
onMounted(() => {
  GetCustomer()
})

const GetCustomer = () => {
  proxy.$post('/mt4/member/getcustomer').then((res) => {
    weburl.value = JSON.parse(res.data.customer).customer
  })
}
</script>

<style>
.customerService {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: url('@/style/img/login/background.png') no-repeat;
  background-size: 100% 100%;
}
</style>
